import { Vue, Component, Watch } from 'vue-property-decorator'
import { TopNav } from '@/components/index'
@Component({
    components: {
        TopNav
    }
})
export default class confirmation extends Vue {
    private checked = false
    private active = 0
    private setClassL = ''
    private setClassR = ''
    @Watch('active')
    onactive(v: number) {
        console.log(v)
        if (v == 1) {
            this.setClassL = 'slideInRight'
            this.setClassR = 'slideInLeft'
        }else{
            this.setClassL = 'slideInRight'
            this.setClassR = 'slideInLeft'
        }
        // setTimeout(() => {
        //     this.setClass ='slideInRight'
        // }, 1000);
    }

}